import mitt, { Emitter } from 'mitt';
import MittType from '@/types/mitt';

const eventBus: Emitter<MittType> = mitt<MittType>();

export default eventBus;